package com.huluobo.lib_http

/**
 *  Created by LC on 2025/4/10.
 */
object Const {
    const val BASE_URL = "http://39.104.238.234:8081"
    const val PARAM_TOKEN = "ferioatoken"
    const val PARAM_IS_IN = "isIn"

    const val URL_GET_APPS = "/api/sysapp/all"

    const val URL_GET_DOCUMENT = "/api/resource/all"
    const val PARAM_FILE = "file"
    const val URL_UPLOAD_FILE = "/api/file/uploadimg"
    const val PARAM_ID = "id"
    const val URL_DELETE_DOCUMENT = "/api/resource/delete"

    const val URL_REPORT = "/api/oaworklog/all"
    const val PARAM_TITLE = "title"
    const val PARAM_CONTENT = "content"
    const val URL_ADD_REPORT = "/api/oaworklog/save"

    const val URL_GET_SIGN = "/api/clock/page"
    const val PARAM_SIGN_IN = "signIn"
    const val PARAM_SIGN_OUT = "signOut0"
    const val PARAM_PAGE = "page"
    const val PARAM_LIMIT = "limit"


    const val PARAM_LAT = "lat"
    const val PARAM_LON = "lon"
    const val PARAM_TYPE = "type"
    const val PARAM_STATUS = "status"
    const val PARAM_ADDRESS = "address"
    const val URL_ADD_SIGN = "/api/clock/save"

    const val PARAM_USERNAME = "username"
    const val PARAM_ROLE = "role"
    const val PARAM_NAME = "name"
    const val PARAM_NO = "no"
    const val PARAM_PHONE = "phone"
    const val PARAM_DID = "did"
    const val PARAM_PID = "pid"
    const val PARAM_PNAME = "pname"
    const val URL_ADD_EMPLOYEE = "/api/staff/save"

    const val URL_LOGIN = "/api/user/login"
    const val PARAM_UNAME = "uname"
    const val PARAM_UPASS = "upass"

    const val PARAM_START_TIME = "startTime"
    const val PARAM_END_TIME = "endTime"
    const val PARAM_HOURS = "hours"
    const val PARAM_REASON = "reason"
    const val URL_ADD_APPROVE = "/api/leave/save"

    const val URL_GET_APPROVE = "/api/leave/all?status=0"

    const val PARAM_COM_TIME = "comTime"
    const val PARAM_COM_REASON = "comReason"
    const val URL_COM_APPROVE = "/api/leave/audit"
}